import request from '@/common/request'

export function personInfoApi () {
    return request({
        url: '/personInfo',
        method: 'get'
        // params: params
    })
}
export function switchRoleApi (params) {
    return request({
        url: '/switchRole',
        method: 'get',
        params: params
    })
}

export function getAllRolesApi () {
    return request({
        url: '/getAllRoles',
        method: 'get'
        // params: params
    })
}
